<template >
  <div class="wfull" >
    <div class="flx pd5">
      <div class="w140">订单编号：</div>
      <a-input v-model="obj.orderNo"></a-input>
    </div>
    <ZgJsonViewer :value="obj"></ZgJsonViewer>
  </div>
</template>
<script>
export default {
  data () {
    return {
      obj: {
            bizCallbackUrl: 'http://192.168.31.7:8089/invoice/callBack',
            buyerAccount: '0502126409022125466',
            buyerAddress: '太原市西矿街318号西山大厦',
            buyerBank: '工行西山支行',
            buyerName: '山西焦煤能源集团股份有限公司',
            buyerPhone: '0351-7799688',
            buyerTaxnum: '91140000713676510D',
            checkBlue: 0,
            checker: '付鹏',
            clerker: '翟慧敏',
            columnFirst: '',
            detail: [
                {
                    commodityCode: '',
                    detailIndex: 1,
                    detailType: 0,
                    favouredPolicyCode: '',
                    favouredPolicyFlag: 0,
                    favouredPolicyName: '2',
                    goodsCode: '1020102',
                    goodsName: '焦精煤',
                    goodsNum: 3594.27,
                    goodsPrice: 1115,
                    goodsUnit: '吨',
                    mtzl: '0202',
                    selfCode: '000000',
                    specType: '',
                    tax: 461052.6,
                    taxAmount: 4007611.05,
                    taxrate: '0.13',
                    withTaxFlag: 1
                },
                {
                    commodityCode: '',
                    detailIndex: 2,
                    detailType: 0,
                    favouredPolicyCode: '',
                    favouredPolicyFlag: 0,
                    goodsCode: '1020102',
                    goodsName: '取送车费',
                    goodsNum: 3594.27,
                    goodsUnit: '吨',
                    mtzl: '0202',
                    specType: '',
                    tax: 841.06,
                    taxAmount: 7310.75,
                    taxFreePrice: 1.8,
                    taxrate: '0.13',
                    withTaxFlag: 0
                }
            ],
            invoiceLine: 'bs',
            invoiceType: 1,
            listFlag: 0,
            notifyType: -1,
            orderNo: '04502abc415044569c3c20d3a6526fac',
            paperInvoiceType: '',
            payee: '胡旭洲',
            remark: '',
            requestSrc: 0,
            sellerAccount: '0509017409300021766',
            sellerAddress: '山西省吕梁孝义市兑镇镇水峪矿区',
            sellerBank: '工行孝义梧桐支行',
            sellerName: '山西汾西矿业集团水峪煤业有限责任公司',
            sellerPhone: '0354-7097045',
            sellerTaxnum: '91141181783268715Y',
            specificFactor: '0',
            substituteFlag: 0,
            userId: 189,
            sourceSystem: '结算',
            invoiceSystem: 1
        }
    }
  },
  methods: {
    save () {
      return this.$result.ok(Object.assign({}, this.obj))
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
